#curl https://gitee.com/ewf-9/BiJi/raw/master/ddcz.sh -o ddcz.sh && bash ddcz.sh
#echo && stty erase '^H' && read -p "请输入数字 [1-15]：" num
#case "$num" in 
azwch(){
    apt update
    apt upgrade -y
    sed -i 's/stretch/buster/g' /etc/apt/sources.list
    apt update
    apt upgrade -y
    apt dist-upgrade
    apt autoremove
    apt clean
}
ddcz(){
    echo "重装后密码: MoeClub.org && 自行 passwd 修改密码"
    echo -e "0.退出 \n1.debian9 \n2.ubuntu 20.04 \n3.centos 6.9 \n4.centos 6.8 \n5.centos 6.7 \n6.centos 6.6 \n7.centos 6.5 \n8.debian10 \n9.debian11 \n10.ubuntu 14.04 \n11.ubuntu 16.04 \n12.ubuntu 18.04 \n13.ubuntu/debian安装完成后更新"
    echo -e 'debian\ubuntu安装完成后执行\napt update\napt upgrade -y\nsed -i 's/stretch/buster/g' /etc/apt/sources.list\napt update\napt upgrade -y\napt dist-upgrade\napt autoremove\napt clean\nreboot'
    echo "重装后密码: MoeClub.org && 自行 passwd 修改密码"
    echo "14.合集(密码看提示)"
    TC=(exit 1)
    echo && stty erase '^H' && read -p "请输入数字 [1-15]：" num
    case "$num" in 
    1)(bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 9 -v 64 -a -firmware)
    ;; 
    2)(bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -u 20.04 -v 64 -a -firmware)
    ;; 
    3)(bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -c 6.9 -v 64 -a -firmware) 
    ;;
    4)(bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -c 6.8 -v 64 -a -firmware)
    ;; 
    5)(bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -c 6.7 -v 64 -a -firmware)
    ;;
    6)(bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -c 6.6 -v 64 -a -firmware)
    ;;
    7)(bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -c 6.5 -v 64 -a -firmware)
    ;;
    8)(bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 10 -v 64 -a -firmware)
    ;;
    9)(bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 11 -v 64 -a -firmware)
    ;;
    10)(bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -u 14.04 -v 64 -a -firmware)
    ;;
    11)(bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -u 16.04 -v 64 -a -firmware)
    ;;
    12)(bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -u 18.04 -v 64 -a -firmware)
    ;;
    13)azwch
    ;;
    14)(wget --no-check-certificate -O AutoReinstall.sh https://ghproxy.com/https://raw.githubusercontent.com/hiCasper/Shell/master/AutoReinstall.sh && bash AutoReinstall.sh)
    ;;
    15)
    ;;
    0)$TC ;; *)
    echo -e "${Error} 请输入正确"
    esac
    ddcz
}
ddcz

